package com.tianji.medical.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tianji.medical.pojo.PatientMedication;
import io.lettuce.core.dynamic.annotation.Param;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 陈佳
 * @since 2024-10-15
 */
public interface PatientMedicationMapper extends BaseMapper<PatientMedication> {


    List<PatientMedication> findByShard(@Param("shardIndex") int shardIndex
            , @Param("shardTotal")int shardTotal
            , @Param("currentTime")LocalDateTime currentTime);
}
